package com.ruoyi.hmy.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户信息对象 hmy_shops
 *
 * @author ruoyi
 * @date 2023-04-15
 */
@Data
@ToString
public class HmyShops extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 商户ID */
    private Long shopId;

    /** 商家登录帐号 */
    private String loginName;

    /** 商家登录密码 */
    private String loginPwd;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String name;

    /** 店铺logo */
    @Excel(name = "店铺logo")
    private String icon;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String businessLicenseImage;

    /** 餐饮服务许可证图片 */
    @Excel(name = "餐饮服务许可证图片")
    private String cateringServiceLicenseImage;

    /** 服务评分 */
    @Excel(name = "服务评分")
    private Double serverScore;

    /** 环境评分 */
    @Excel(name = "环境评分")
    private Double environment;

    /** 卫生评分 */
    @Excel(name = "卫生评分")
    private Double hygiene;

    /** 餐厅地址 */
    @Excel(name = "餐厅地址")
    private String address;

    /** 餐厅公告 */
    @Excel(name = "餐厅公告")
    private String publication;

    /** 服务理念 */
    @Excel(name = "服务理念")
    private String aim;

    /** 餐厅简介(视频) */
    @Excel(name = "餐厅简介(视频)")
    private String introduction;

    /** 营业时间 */
    @Excel(name = "营业时间")
    private String openingHours;

    /** 餐厅联系电话 */
    @Excel(name = "餐厅联系电话")
    private String phone;

    /** 店铺分类 */
    @Excel(name = "店铺分类")
    private String category;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Long salesCount;

    /** 送餐标识 */
    @Excel(name = "送餐标识")
    private String egress;

    /** 配送费 */
    @Excel(name = "配送费")
    private BigDecimal deliveryFee;

    /** 起送价 */
    @Excel(name = "起送价")
    private BigDecimal serviceFee;

    /** 速度评分 */
    @Excel(name = "速度评分")
    private Double speedScore;

    /** 所在省 */
    @Excel(name = "所在省")
    private String province;

    /** 所在市 */
    @Excel(name = "所在市")
    private String city;

    /** 地图位置坐标 */
    private String location;

    /** 状态(预定中(appointment)、打烊中(closing_in)、暂停营业(suspend_business)、商家休息中(rest_time)) */
    @Excel(name = "状态(预定中(appointment)、打烊中(closing_in)、暂停营业(suspend_business)、商家休息中(rest_time))")
    private String openStatus;

    /** 营业标志（0代表营业 */
    @Excel(name = "营业标志", readConverterExp = "营业标志（0代表营业")
    private String isOpen;

    /** 投诉次数 */
    @Excel(name = "投诉次数")
    private Integer complaintCount;

    /** 审核标志（0代表未通过 1代表审核中 2代表审核通过 */
    @Excel(name = "审核标志", readConverterExp = "审核标志（0代表未审核")
    private String passed;

    /** 店铺状态：黑名单 */
    @Excel(name = "店铺状态：黑名单")
    private String shopStatus;

    /** 申请状态(已提交(submitted)、审核中(auditing)、已通过(verified)、未通过(rejected)) */
    @Excel(name = "申请状态(已提交(submitted)、审核中(auditing)、已通过(verified)、未通过(rejected))")
    private String applyStatus;

    /** 删除标识（0代表存在 */
    private String delFlag;

    /** 未通过原因 */
    @Excel(name = "未通过原因")
    private String message;

    /** 总交易额 */
    @Excel(name = "总交易额")
    private String totalAmount;

    /** 未结算金额 */
    @Excel(name = "未结算金额")
    private String unliquidatedAmount;

    /** 平台收取费率（百分比） */
    @Excel(name = "平台收取费率", readConverterExp = "百=分比")
    private Integer platformRate;

    /** 商户详情信息 */
    private HmyShopsInfo hmyShopsInfo;

    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private List<String> citys = new ArrayList<>();

}
